package com.competition.web.admin.service;
import java.util.List;
import java.util.Map;

import com.basic.service.contract.IBaseService;
import com.competition.web.entity.Region;

public interface IRegionService extends IBaseService<Region> { 

	/**
	 * 地区列表
	 * @return
	 */
	public List<Region> getRegionList(int parentId);
	
	/**
	 * 根据省id获取城市列表
	 * @param parentId
	 * @return
	 */
	public List<Region> getRegionListByProvinceId(int parentId);
	
	public Map<Integer, Region> getCitysByIdsToMap(Integer[] provinceIds);
	
	public List<Region> getCitysByIds(Integer[] provinceIds);
	
}
